package org.belkodevelop.auth.dto;

/**
 * @author VMozolev
 */
public class RecoveryPasswordStatus {
    private boolean error;
    private String errorCode;

    public RecoveryPasswordStatus(boolean error) {
        this.error = error;
    }

    public RecoveryPasswordStatus(boolean error, String errorCode) {
        this.error = error;
        this.errorCode = errorCode;
    }

    public boolean getError() {
        return error;
    }

    public String getErrorCode() {
        return errorCode;
    }
}